using System;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using System.Data.Entity.ModelConfiguration;

namespace Infrastructure.Data.Uow.Mapping
{
    using Domain.Entity;
    
    public partial class ArticleClassMapping
     : EntityTypeConfiguration<ArticleClass>    
    {
    	public ArticleClassMapping()
    	{
    		this.ToTable("ArticleClass");
    		this.HasKey(d => d.Id);
    		this.Property(d => d.AddTime);
    		this.Property(d => d.IpAddress);
    		this.Property(d => d.State);
    		this.Property(d => d.SortNum);
    		this.Property(d => d.Name);
    		this.Property(d => d.ParentId);
    		this.Property(d => d.Remark);
    	}
    }
}
